using DaprPlus.AspNetCore.Extensions;
using DaprPlus.Extensions;

using Todos.Api;

var builder = WebApplication.CreateBuilder(args);

builder.AddServiceDefaults();
builder.Services.AddDaprPlus<StartupModule>();

var app = builder.Build();
app.MapDefaultEndpoints();

await app.UseDaprPlus();
await app.RunAsync();